﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Like.aspx.vb" Inherits="WebApplication1._Like" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <br />
<br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"  CssClass="gv" 
        DataKeyNames="ID" DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="Skincaretips" HeaderText="Skincaretips" 
                SortExpression="Skincaretips" />
            <asp:ImageField DataImageUrlField="Imagetips" HeaderText="ImageTips">
                <ControlStyle Height="200px" Width="200px" />
            </asp:ImageField>
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:SkinConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:SkinConnectionString.ProviderName %>" 
        SelectCommand="SELECT [Skincaretips], [ID], [Imagetips], [skincare_fkid] FROM [tips] WHERE ([ID] = ?)">
        <SelectParameters>
            <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
    <br />
    <asp:Button ID="Lik_bt" runat="server" Text="Like" />
    <asp:Image ID="Image" runat="server" Height="25px" 
        ImageUrl="~/pictures/like.jpg" Width="55px" />
    
    <br />
    <br />
   
    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/List.aspx">Back</asp:HyperLink>
    <br />
   
</asp:Content>
